package com.ssmm.ssmm1.service;

import com.ssmm.ssmm1.pojo.Userr;

import java.util.Date;
import java.util.List;

/**
 * Created by naojiang on 2017/7/12.
 */
public interface UserService {

    public boolean login(String username,String password);
    public boolean register(String username, String password, String nickname,
                            String sex,String address);
    public boolean delete(String username);
    public boolean update(String username, String password, String nickname,
                          String sex,String address);
    public List<Userr> list();
}
